package com.zzy.system.domain;

import com.alibaba.fastjson2.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzy.common.core.domain.BaseEntity;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 订单实体类，用于表示订单的各种属性信息。
 */
@Data
public class SaleOrderTraceSpusBatches extends BaseEntity {
    //主键 自增
    @TableId(type = IdType.AUTO)
    private Integer SaleOrderTraceSpusBatchesId;
    private static final long serialVersionUID = 1L;

    /**
     * 明细id
     */
    private int traceSpusId;
    /**
     * 明细id
     */
    private int reportId;
    /**
     * 批次号
     */
    @JSONField(name = "batch_number")
    private String batchNumber;

    /**
     * 入库时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss.SSS")
    @JSONField(name = "in_stock_time")
    private LocalDateTime inStockTime;




}